<template>
  <div>
    <el-form ref="form" :model="form" label-width="80px">
         <el-form-item label="地区id" v-if="form.areaId">
        <el-input v-model="form.areaId" disabled=""></el-input>
      </el-form-item>
        <el-form-item label="城市id">
        <el-input v-model="form.cityId" disabled=""></el-input>
      </el-form-item>
      <el-form-item label="城市名称">
        <el-input v-model="form.cityName" disabled=""></el-input>
      </el-form-item>
      <el-form-item label="区域">
        <el-input v-model="form.name"></el-input>
      </el-form-item>
      <slot></slot>
    </el-form>
  </div>
</template>


<script>
export default {
  props: ["form"]
};
</script>